# -*- coding: utf-8 -*-
def reduction (P,R):
    return P*(1-(R/100))


#algo principal
    #saisie
    P=int(input("Veuillez saisir le prix: "))
    if P>=50:
        P=reduction(P,30)
        print("le prix du produit est de: ",P)
    else:
        P=reduction(P,10)
        print("le prix du produit est de: ",P)
        
    
        
    
